home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softwarová Záchrana 3
/
Softwarova-zachrana-3.bin
/
Xteq X-Setup
/
xqdcXSP-Setup-EN.exe
/
{app}
/
plugins
/
XQ WinOnCD 1.xpl
< prev
next >
Wrap
Text File
|
2000-04-03
|
1KB
|
55 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="Program Options\Other Programs\WinOnCD"
"NAME"="General"
"VERSION"="1.01"
"LANGUAGE"="VBScript"
"TEXT 1"="Eject CD after recording is finished"
"DESCRIPTION 1"="Some options for CeQuadrats WinOnCD."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All rights reserved."
"COMMENT 1"=" "
sPCheck="HKLM\Software\CeQuadrat\WinonCD\"
sV1="HKLM\Software\CeQuadrat\WinonCD\Recorder\No Eject" 'STR: 1
Sub Plugin_Initialize
if RegPathExists(sPCheck) then
i=RegReadValue(sV1)
If IsEmpty(i)=true then
SetUIElement 1,true
else
if i=0 then
SetUIElement 1,true
end if
end if
else
Disable()
end if
END SUB
'Called when the Plugin should validate the Data the user has entered
SUB Plugin_CheckData(ElementIndex)
END SUB
'Called when the Plugin should apply the changes
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
s="0"
else
s="1"
end if
Call RegWriteValue(sV1,s,1)
END SUB
'Called when the Plugin is about to be removed from memory
SUB Plugin_Terminate
END SUB